<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <script src="http://libs.baidu.com/jquery/1.11.1/jquery.min.js"></script>
    <script src="../dist/pandyle.js"></script>
    <title>Document</title>
</head>
<body>
    <div class="main">
        <div p-if="{{!name}}">空值</div>
        <div p-if="{{name !== null}}">{{name + '\nhello'}}</div>
    </div>

    <script>
        $('.main').vm({
            name: 'rrr'
        })
    </script>
</body>
</html>